package com.lbd.bankcard.bean;

import com.lbd.base.bean.AbstractEntity;
import lombok.*;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Entity;
import java.math.BigDecimal;

/**
 * Created by zzl on 2016/10/19.
 */
@Getter
@Setter
@ToString
@AllArgsConstructor
@NoArgsConstructor
@DynamicUpdate
@Entity
public class BankCard extends AbstractEntity {
    //银行名称
    private String bankName;
    //名称缩写
    private String shortName;
    //卡类型(借记卡，信用卡)
    private String cardType;
    //每日限额
    private BigDecimal dailyLimit;
    //图标
    private String iconUrl;
    //状态(可用,不可用)
    private String state;
    //手续费
    private BigDecimal fee;
    //单笔限额
    private BigDecimal onceLimit;
    //手续费承担方
    private String handingFee;
    //充值条件
    private String rechargeCondition;
    //充值类型（1快捷 2网银）
    private String rechargeType;
    //网银跳转地址
    private String bankUrl;
    //排序值
    private Integer orderValue;
}
